package com.msb.api.feign.order;

import com.msb.common.vo.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(
        name = "mall-order", path = "/mall-order"
)
public interface OrderFeignApi {

    @PostMapping(value = "/order/order/findAll")
    CommonResult findAll(@RequestBody Map<String, Object> params);
}
